package com.rxb.blog.service;

import com.rxb.blog.entity.ArticlePraiseEntity;
import com.rxb.blog.vo.ArticleInfoVo;

import java.util.List;
import java.util.Map;

/**
 * Author：rxb
 * Date：2020-02-26 16:48
 * Description：<描述>
 */
public interface ArticleInfoService {

    void insertArticle(ArticleInfoVo articleInfoVo);

    Map getMyArticleList(ArticleInfoVo articleInfoVo);

    ArticleInfoVo getArticleDetail(Integer id);

    void deleteArticle(Integer id);

    void toTop(Integer id);

    void cancleTop(Integer id);

    List<Map> getArticleListWithType(String articleTypeName);

    void praise(Map map);

    ArticlePraiseEntity getPraise(Map<String, Object> map);
}
